import pytest
import allure
import requests
import logging

# logger = logging.getLogger(__name__)
@allure.title('展示订单')
def test_apitest_01():
    with allure.step('第一步，获取订单'):
        token = 'xxxx'

        assert 1==1
    allure.dynamic.description('获取订单有很多方法')
    # logger.info('这是我想想要打印的一些话')

@pytest.mark.parametrize('data,name',([1,'cc'],[23,'xx'],[44,'ss']))
def test_apitest_02(data,name):
    print(data)
    print(name)


@pytest.mark.parametrize('data',({1:'xx'},{2:'xxs'}))
def test_apitest_03(data):
    print(data)


@pytest.mark.parametrize('key',[{"1":'xx'}])
def test_apitest_04(key):
    print(key)

    

